package com.aosiding.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import static org.springframework.web.bind.annotation.RequestMethod.GET;

@RestController
@RequestMapping("discovery")
public class DiscoveryController {

    @RequestMapping(value = "get", method = GET)
    @ResponseBody
    public String discovery(){
        return "provider服务被你发现了呀";
    }
}